package com.gzq.factorymethod.practice1.simpelfactory;

import com.gzq.factorymethod.practice01.ProductWhiteHuman;
import com.gzq.factorymethod.practice01.ProductYellowHuman;

public class TianDao {
	public static void main(String[] args) {
		ProductYellowHuman create1 = PanGu.create(ProductYellowHuman.class);
		create1.race();
		ProductWhiteHuman create2 = PanGu.create(ProductWhiteHuman.class);
		create2.race();
	}
}
